package com.woniuxy.carlife.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author fx
 * @ClassName:ServiceGoodPicParam
 * @Description: 修改商品图片的参数类
 * @date 2021/4/14 15:53
 **/

@Data
@ApiModel(value = "修改商品图片的参数类")
public class ServiceGoodPicParam {

    @NotNull(message="商品id不能为空")
    @ApiModelProperty(value = "商品id")
    private Integer goodId;

    @NotNull(message="商品图片不能为空")
    @ApiModelProperty(value = "商品图片地址")
    private String pic;
}
